package com.cskaoyan.service;

import com.cskaoyan.model.Topic;
import com.cskaoyan.model.bo.TopicListBO;
import com.cskaoyan.model.vo.DataVO;
import com.cskaoyan.model.vo.TopicReadVO;

/**
 * @ClassName: TopicService
 * @Description: topicservice方法
 * @Author:YPS
 * @Date: 2022/5/6 17:45
 * @Version: 1.0
 **/
public interface TopicService {
    DataVO<Topic> queryTopic(TopicListBO topicListBO);

    Topic createTopic(Topic topic);

    TopicReadVO readTopic(Integer id);

    Topic updateTopic(Topic topic);

    void deleteTopic(Topic topic);

    void batchDelete(Integer[] ids);
}
